package com.sicpa.common.enums;

import com.sicpa.common.utils.StringUtils;

/**
 * BusinessCommonEnum
 *
 * @author lwf
 */
public enum BusinessCommonYesNoEnum {

    YES("是"),
    NO("否");

    private String item;

    BusinessCommonYesNoEnum(String item) {
        this.item = item;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public static boolean checkAll(String tem){
        return StringUtils.equals(tem,BusinessCommonYesNoEnum.YES.getItem()) || StringUtils.equals(tem,BusinessCommonYesNoEnum.NO.getItem());
    }

}
